package org.spolo.android.app.bean;

import java.util.ArrayList;

import org.spolo.android.support.nodetree.Vcanvas;

import android.view.MotionEvent;

/**
 * 此类是一个事件信息的封装类,想触摸屏幕产生的各种信息,都会在此类中进行封装,想事件类型,是哪一个对象被触发,时间的参数等等
 * 
 * @author chenzhongming
 * @date 2012-6-15
 */
public class ActionParameter {
	private String actionType;
	private Vcanvas vcanvas;
	private ArrayList<MotionEvent> events = new ArrayList<MotionEvent>();

	public ArrayList<MotionEvent> getEvents() {
		return events;
	}

	public void setEvents(MotionEvent events) {
		this.events.add(events);
	}

	public String getActionType() {
		return actionType;
	}

	public void setActionType(String actionType) {
		this.actionType = actionType;
	}

	public Vcanvas getVcanvas() {
		return vcanvas;
	}

	public void setVcanvas(Vcanvas vcanvas) {
		this.vcanvas = vcanvas;
	}

}
